# -*- coding: utf-8 -*-

#(c)Jonathan & Gregoire (read __doc__ for more information)
#Copyright (C)%(author)s (%(date)s)
#
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program.  If not, see <http://www.gnu.org/licenses/>.

## @packagename cards
# Cards is the definition of card for play


from engine.pattern.cards.Card import Card

__author__      = \
"""
Jonathan MERCIER <bioinfornatics at gmail.com >
Gregoire NAUDIN  <greg.naudin at gmail.com    >

"""
__version__     = "$Revision: 0.1 $"
__date__        = "$Date: 2009/23/09$"
__copyright__   = "Copyright (c) 2009 Jonathan MERCIER and Gregoire NAUDIN"
__license__     = "GPL v3 or under"
__name__        = "Card6.py"
__description__ = "Cards is the definition of card for play"

## Documentation for Card5 class
# This is Card5 class
class Card6(Card):
    # Class attribute nb_card
    nb_card6 = 0
    
    ## The constructor
    # @param owner The owner of this card
    def __init__(self,owner=None):
        ## Initialise Object player 
        Card.__init__(self,border_up_left=u"F",border_up=u"F",border_up_right=u"F",border_left=u"F",middle=u"F",border_right=u"F",border_down_left=u"F",border_down=u"F",border_down_right=u"F",nb_river=None,nb_forest=12,nb_plain=None,image="images/card6.png")
        ## Increase class attribute nb_card1
        self.__class__.nb_card6 += 1
        ## Private attribute owner
        self.__owner = owner

    # Private setter for owner attribute
    def __set_owner(self,value):
        self.__owner = value
    
    ## Public getter for owner attribute
    def get_owner(self):
        return self.__owner

    ## Property for owner attribute
    owner = property(get_owner,__set_owner)
